package com.smart.reader.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("更新学生信息参数")
public class StudentInfoUpdateBo {
    
    @ApiModelProperty(value = "学生ID", example = "1", required = true)
    @NotNull(message = "学生ID不能为空")
    private Long id;

    @ApiModelProperty(value = "学号", example = "2023001")
    private String studentNo;

    @ApiModelProperty(value = "姓名", example = "张三")
    private String fullName;

    @ApiModelProperty(value = "性别", example = "1")
    private Integer sex;

    @ApiModelProperty(value = "班级ID", example = "1")
    private Long classInfoId;
    
    @ApiModelProperty(value = "电话号码", example = "13800138000")
    private String phoneNumber;
    
    @ApiModelProperty(value = "人脸ID", example = "face123456")
    private String faceId;
    
    @ApiModelProperty(value = "备注", example = "优秀学生")
    private String description;
}
